﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.MasterData
{
    public interface IUnitMeasureServices
    {
        public Task<IEnumerable<UnitMeasure>> GetAllAsync();
        public Task<IEnumerable<UnitMeasure>> GetAsync(int PageIndex,int PageSize,string MeasureCode,string MeasureName);
        public Task<int> GetCountAsync(string MeasureCode,string MeasureName);

        public Task<bool> UpdateAsync(UnitMeasure model);
        public Task<bool> AddAsync(UnitMeasure model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);

    }
}
